package com.hdw.med.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedOdsDwFid implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long idOdsDwFid;

    private Long idTaskDw;

    private String cdTb;

    private String odsFid;

    /**
     * //1 正常列  2额外维度添加列
     */	
    private Integer odsFidType;

    private String dwFid1;

    /**
     * 数据来源类型
     */	
    private String idPubfid1;

    private String dwFid2;

    /**
     * 数据来源类型
     */	
    private String idPubfid2;

    private String idUseCre;

    private String naUseCre;

    private String idUseCheck;

    private String naUseCheck;

    private Date dtCheck;

    private Date dtSysCre;

    private Date dtSysModi;

    public Long getIdOdsDwFid() {
        return idOdsDwFid;
    }

    public void setIdOdsDwFid(Long idOdsDwFid) {
        this.idOdsDwFid = idOdsDwFid;
    }

    public Long getIdTaskDw() {
        return idTaskDw;
    }

    public void setIdTaskDw(Long idTaskDw) {
        this.idTaskDw = idTaskDw;
    }

    public String getCdTb() {
        return cdTb;
    }

    public void setCdTb(String cdTb) {
        this.cdTb = cdTb == null ? null : cdTb.trim();
    }

    public String getOdsFid() {
        return odsFid;
    }

    public void setOdsFid(String odsFid) {
        this.odsFid = odsFid == null ? null : odsFid.trim();
    }

    public Integer getOdsFidType() {
        return odsFidType;
    }

    public void setOdsFidType(Integer odsFidType) {
        this.odsFidType = odsFidType;
    }

    public String getDwFid1() {
        return dwFid1;
    }

    public void setDwFid1(String dwFid1) {
        this.dwFid1 = dwFid1 == null ? null : dwFid1.trim();
    }

    public String getIdPubfid1() {
        return idPubfid1;
    }

    public void setIdPubfid1(String idPubfid1) {
        this.idPubfid1 = idPubfid1 == null ? null : idPubfid1.trim();
    }

    public String getDwFid2() {
        return dwFid2;
    }

    public void setDwFid2(String dwFid2) {
        this.dwFid2 = dwFid2 == null ? null : dwFid2.trim();
    }

    public String getIdPubfid2() {
        return idPubfid2;
    }

    public void setIdPubfid2(String idPubfid2) {
        this.idPubfid2 = idPubfid2 == null ? null : idPubfid2.trim();
    }

    public String getIdUseCre() {
        return idUseCre;
    }

    public void setIdUseCre(String idUseCre) {
        this.idUseCre = idUseCre == null ? null : idUseCre.trim();
    }

    public String getNaUseCre() {
        return naUseCre;
    }

    public void setNaUseCre(String naUseCre) {
        this.naUseCre = naUseCre == null ? null : naUseCre.trim();
    }

    public String getIdUseCheck() {
        return idUseCheck;
    }

    public void setIdUseCheck(String idUseCheck) {
        this.idUseCheck = idUseCheck == null ? null : idUseCheck.trim();
    }

    public String getNaUseCheck() {
        return naUseCheck;
    }

    public void setNaUseCheck(String naUseCheck) {
        this.naUseCheck = naUseCheck == null ? null : naUseCheck.trim();
    }

    public Date getDtCheck() {
        return dtCheck;
    }

    public void setDtCheck(Date dtCheck) {
        this.dtCheck = dtCheck;
    }

    public Date getDtSysCre() {
        return dtSysCre;
    }

    public void setDtSysCre(Date dtSysCre) {
        this.dtSysCre = dtSysCre;
    }

    public Date getDtSysModi() {
        return dtSysModi;
    }

    public void setDtSysModi(Date dtSysModi) {
        this.dtSysModi = dtSysModi;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MdMedOdsDwFid other = (MdMedOdsDwFid) that;
        return (this.getIdOdsDwFid() == null ? other.getIdOdsDwFid() == null : this.getIdOdsDwFid().equals(other.getIdOdsDwFid()))
            && (this.getIdTaskDw() == null ? other.getIdTaskDw() == null : this.getIdTaskDw().equals(other.getIdTaskDw()))
            && (this.getCdTb() == null ? other.getCdTb() == null : this.getCdTb().equals(other.getCdTb()))
            && (this.getOdsFid() == null ? other.getOdsFid() == null : this.getOdsFid().equals(other.getOdsFid()))
            && (this.getOdsFidType() == null ? other.getOdsFidType() == null : this.getOdsFidType().equals(other.getOdsFidType()))
            && (this.getDwFid1() == null ? other.getDwFid1() == null : this.getDwFid1().equals(other.getDwFid1()))
            && (this.getIdPubfid1() == null ? other.getIdPubfid1() == null : this.getIdPubfid1().equals(other.getIdPubfid1()))
            && (this.getDwFid2() == null ? other.getDwFid2() == null : this.getDwFid2().equals(other.getDwFid2()))
            && (this.getIdPubfid2() == null ? other.getIdPubfid2() == null : this.getIdPubfid2().equals(other.getIdPubfid2()))
            && (this.getIdUseCre() == null ? other.getIdUseCre() == null : this.getIdUseCre().equals(other.getIdUseCre()))
            && (this.getNaUseCre() == null ? other.getNaUseCre() == null : this.getNaUseCre().equals(other.getNaUseCre()))
            && (this.getIdUseCheck() == null ? other.getIdUseCheck() == null : this.getIdUseCheck().equals(other.getIdUseCheck()))
            && (this.getNaUseCheck() == null ? other.getNaUseCheck() == null : this.getNaUseCheck().equals(other.getNaUseCheck()))
            && (this.getDtCheck() == null ? other.getDtCheck() == null : this.getDtCheck().equals(other.getDtCheck()))
            && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre()))
            && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIdOdsDwFid() == null) ? 0 : getIdOdsDwFid().hashCode());
        result = prime * result + ((getIdTaskDw() == null) ? 0 : getIdTaskDw().hashCode());
        result = prime * result + ((getCdTb() == null) ? 0 : getCdTb().hashCode());
        result = prime * result + ((getOdsFid() == null) ? 0 : getOdsFid().hashCode());
        result = prime * result + ((getOdsFidType() == null) ? 0 : getOdsFidType().hashCode());
        result = prime * result + ((getDwFid1() == null) ? 0 : getDwFid1().hashCode());
        result = prime * result + ((getIdPubfid1() == null) ? 0 : getIdPubfid1().hashCode());
        result = prime * result + ((getDwFid2() == null) ? 0 : getDwFid2().hashCode());
        result = prime * result + ((getIdPubfid2() == null) ? 0 : getIdPubfid2().hashCode());
        result = prime * result + ((getIdUseCre() == null) ? 0 : getIdUseCre().hashCode());
        result = prime * result + ((getNaUseCre() == null) ? 0 : getNaUseCre().hashCode());
        result = prime * result + ((getIdUseCheck() == null) ? 0 : getIdUseCheck().hashCode());
        result = prime * result + ((getNaUseCheck() == null) ? 0 : getNaUseCheck().hashCode());
        result = prime * result + ((getDtCheck() == null) ? 0 : getDtCheck().hashCode());
        result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
        result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", idOdsDwFid=").append(idOdsDwFid);
        sb.append(", idTaskDw=").append(idTaskDw);
        sb.append(", cdTb=").append(cdTb);
        sb.append(", odsFid=").append(odsFid);
        sb.append(", odsFidType=").append(odsFidType);
        sb.append(", dwFid1=").append(dwFid1);
        sb.append(", idPubfid1=").append(idPubfid1);
        sb.append(", dwFid2=").append(dwFid2);
        sb.append(", idPubfid2=").append(idPubfid2);
        sb.append(", idUseCre=").append(idUseCre);
        sb.append(", naUseCre=").append(naUseCre);
        sb.append(", idUseCheck=").append(idUseCheck);
        sb.append(", naUseCheck=").append(naUseCheck);
        sb.append(", dtCheck=").append(dtCheck);
        sb.append(", dtSysCre=").append(dtSysCre);
        sb.append(", dtSysModi=").append(dtSysModi);
        sb.append("]");
        return sb.toString();
    }
}